Establish encrypted terminal sessions and execute remote commands
using the Secure Shell protocol. The library supports password and
private key authentication, along with functions for exchanging session
data and searching command output.
Reference
Library Information
| File Name |
CSTSHV12.DLL |
| Version |
12.0.3041.1380 |
| LibID |
758D7F52-CE33-4C44-B404-EBF1F15875E8 |
| Import Library |
CSTSHV12.LIB |
| Dependencies |
None |
| Standards |
RFC 4251 |
Overview
The Secure Shell (SSH) protocol API is used to establish a secure
connection with a server which provides a virtual terminal session
for a user. Its functionality is similar to how character based
consoles and serial terminals work, enabling a user to login to the
server, execute commands and interact with applications running on
the server. The library provides an interface for establishing
the connection, authenticating the user and providing the standard
network I/O functions needed by the program.
This library is designed for remote command execution and
interactive terminal sessions and does not provide file transfer
services. Applications which need to transfer files should use the
File Transfer Protocol API, which provides a common interface for FTP,
FTPS and SFTP. SFTP provides secure file transfers using SSH and can
be selected through the same interface used for the other supported
file transfer protocols.
The library requires the server to support SSH 2.0. The legacy
SSH 1.0 protocol has been deprecated because of its known security
weaknesses and will not be used. There is support for some legacy
algorithms for backwards compatibility with older servers, but the
library will only use them if no other options are available. If
the server you are connecting with is based on OpenSSH, we recommend
that it use OpenSSH 7.0 or later. Earlier versions of OpenSSH may request
the use of encryption algorithms which are no longer considered
secure.
Standard password and private key authentication methods are
supported. The library will automatically select the strongest cipher
suite available to both the client and server, and includes support for
AES-256 encryption and elliptical curve key exchange algorithms like
ECDH and Curve25519.
SSH is the recommended protocol for remote command execution and
interactive terminal sessions, particularly when connecting over public
or untrusted networks. It ensures confidentiality and integrity of
data in transit, and is widely supported on modern operating systems
and network infrastructure. If you are currently using Telnet or
Remote Shell in your applications, you are strongly encouraged to
migrate to the Secure Shell protocol. These older protocols are inherently
insecure and should not be used in any context where data security
matters.
Requirements
The SocketTools Library Edition is compatible with any
programming language that can call functions exported from a
standard Windows DLL. If you are using Visual Studio, the
minimum supported version is Visual Studio 2010 with Service
Pack 1 (SP1). The header files are compatible with modern
C/C++ compilers, and function declarations are provided for
several other languages. We recommend installing the latest
updates for your development tools and the Windows SDK.
SocketTools supports Windows 7 SP1, Windows Server 2008 R2 SP1,
and later desktop and server versions of Windows, with Windows 8.1
as the minimum supported version for Windows 8-based systems.
Both 32-bit and 64-bit Windows platforms are supported for
application development. Windows on ARM requires Windows 10
build 1709 or later. We recommend using a version of Windows
that is currently supported by Microsoft for application
development.
SocketTools provides 32-bit x86, 64-bit x64, and native ARM64
libraries. The x86 libraries maintain compatibility with legacy
development tools and can run under emulation on Windows on ARM.
Native ARM32 applications are not supported because Microsoft
discontinued support for 32-bit ARM applications in Windows.
For native ARM64 development, we recommend Visual Studio 2019 or
later. Some development tools, including recent versions of
Embarcadero Delphi, support Windows on ARM using the ARM64EC
architecture. ARM64EC applications can use x64 DLLs through emulation,
but cannot load native ARM64 DLLs. Developers targeting ARM64EC
should use the SocketTools x64 libraries rather than the native
ARM64 libraries.
Import libraries are provided in COFF format for x86, x64, and
ARM64 platforms. OMF libraries are also provided for x86, and ELF
libraries for x64, to support older Borland and Embarcadero
compilers. Visual Studio developers should use the standard COFF
libraries. Some programming languages can call exported DLL
functions directly without requiring an import library.
Distribution
When distributing an application that uses this library, we
recommend installing the SocketTools DLL in the same folder as
the application executable. This simplifies deployment and
avoids potential conflicts with other applications that use
different versions of the library. The DLL must be compatible
with the application's processor architecture (x86, x64, or
ARM64). If the library is installed in a shared system location,
the installer should manage it as a shared DLL to prevent other
applications from being affected when it is updated or removed.
SocketTools libraries are standard Windows DLLs, not ActiveX
components, and do not require COM registration.
This library has no external runtime dependencies beyond the
standard Windows system libraries. It does not require the Microsoft
Visual C++ Redistributable or any additional third-party libraries to
be installed. All required components are either provided by Windows
or statically linked into the SocketTools DLLs, simplifying deployment
and eliminating the need to distribute additional runtime files.
|